package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName WorkArrangeMachines
 * @Description 配工机械
 * @Author dujianyu
 * @Date 2023/12/18 15:21
 */
@Data
@TableName("work_arrange_machines")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "WorkArrangeMachines对象", description = "配工机械")
public class WorkArrangeMachines extends TenantEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "配工ID")
    private Long arrangeId;

    @ApiModelProperty(value = "配工类型")
    private String arrangeType;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业队ID")
    private Long teamId;

    @ApiModelProperty(value = "机械类型")
    private String machineKind;

    @ApiModelProperty(value = "机械数")
    private Integer machines;


}
